<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
    <x:parse xml="${param.xmlstr}" var="xmlData" />
    <input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>" />
    <input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>" />
    <input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>" />
    <input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>" />
    <input type="hidden" name="zh_parsen/fzr_duty" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/prof_title_name"/>" />
<div class="t_bar">基本情况</div>
<table class="t_css" width="100%" id="table_01">
    <col style="width: 20%" />
    <col style="width: 23%" />
    <col style="width: 19%" />
    <col style="width: 19%" />
    <col style="width: 19%" />

    <tr>
        <td align="right">孵化器名称：</td>
        <td colspan="4">
            <x:out select="$xmlData/data/proposal/zh_title"/>
        </td>
    </tr>

    <tr>
        <td align="right">运营机构名称：</td>
        <td colspan="4">
            <x:out select="$xmlData/data/organizations/organization/org_name" />
        </td>
    </tr>

    <tr>
        <td align="right">归口管理部门：</td>
        <td>
            <x:out select="$xmlData/data/proposal/recomend_org_name" />
        </td>
        <td align="right" >申报日期：</td>
        <td colspan="2" align="center">
            <x:out select="$xmlData/data/proposal/submit_date" />
        </td>
    </tr>

    <tr>
        <td align="right">机构性质：</td>
        <td colspan="4" align="left" id="radio1">
            <c:set var="operation_subject_natures"><x:out select="$xmlData/data/proposal/operation_subject_nature_value" /></c:set>
            <cpt:checkbox key="operation_main_natures" value="${operation_subject_natures }" width="70px;" repeatColumn="4" showFlag="view" style="border: 0px; padding: 0px; margin: 0px;float:left;"  ></cpt:checkbox>
            <input type="hidden" id="operation_subject_nature_value" value="${operation_subject_natures }"/>
            <input type="hidden" id="operation_subject_nature_other" value="<x:out select="$xmlData/data/proposal/operation_subject_nature_other" />"/>
            <input type="hidden" id="enterprise_type_other" value="<x:out select="$xmlData/data/proposal/enterprise_type_other" />"/>
        </td>
    </tr>

    <tr>
         <td align="right">类型：</td>
         <td colspan="4">
             <c:set var="incubator_type"><x:out select="$xmlData/data/proposal/incubator_type_value" /></c:set>
             <cpt:checkbox showFlag="view" key="incubator_type2" name="incubator_type" value="${incubator_type}" width="220px;" repeatColumn="3" onClick="initControlValue(this.id);" tagType="radio" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
             <input type="hidden" id="incubator_type_value" name="proposal/incubator_type_value" class="required" value="<x:out select="$xmlData/data/proposal/incubator_type_value" />" label="类型">
             <input type="hidden" name="proposal/incubator_type_name" value="<x:out select="$xmlData/data/proposal/incubator_type_name" />">
         </td>
    </tr>

    <tr>
        <td align="right">注册时间：</td>
        <td align="center">
            <x:out select="$xmlData/data/organizations/organization/registe_date" />
        </td>
        <td align="right">开始运营时间：</td>
        <td colspan="2" align="center">
            <x:out select="$xmlData/data/proposal/begin_operation_date" />
        </td>
    </tr>

    <tr>
        <td align="right">注册资本：</td>
        <td align="center">
            <x:out  select="$xmlData/data/organizations/organization/registe_fund"/>万<x:out  select="$xmlData/data/organizations/organization/registe_fund_money_name"/>
        </td>
        <td align="right">注册地址：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/registered_address" />
        </td>
    </tr>

    <tr>
        <td align="right" rowspan="3">负责人：</td>
        <td align="right">姓名：</td>
        <td>
          <x:out select="$xmlData/data/zh_parsen/fzr_name"/>
        </td>
        <td align="right">职务：</td>
        <td>
           <x:out select="$xmlData/data/zh_parsen/fzr_duty"/>
        </td>
    </tr>

    <tr>
        <td align="right">手机号码：</td>
        <td>
            <x:out select="$xmlData/data/zh_parsen/fzr_mobile"/>
        </td>
        <td align="right">电子邮箱：</td>
        <td>
            <x:out select="$xmlData/data/zh_parsen/fzr_email"/>
        </td>
    </tr>

    <tr>
        <td align="right">联系电话：</td>
        <td colspan="3">
            <x:out select="$xmlData/data/zh_parsen/fzr_tel"/>
        </td>
    </tr>

    <tr>
        <td align="right" rowspan="3">联系人：</td>
        <td align="right">姓名：</td>
        <td>
            <x:out select="$xmlData/data/proposal/linkman/name"/>
        </td>
        <td align="right">电话：</td>
        <td>
            <x:out select="$xmlData/data/proposal/linkman/tel"/>
        </td>
    </tr>

    <tr>
        <td align="right">手机：</td>
        <td>
            <x:out select="$xmlData/data/proposal/linkman/mobile" />
        </td>
        <td align="right">邮编：</td>
        <td >
            <x:out select="$xmlData/data/proposal/linkman/zip_code" />
        </td>
    </tr>
    
    <tr>
        <td align="right">邮箱：</td>
        <td>
            <x:out select="$xmlData/data/proposal/linkman/email"/>
        </td>
        <td align="right">通讯地址：</td>
        <td>
            <x:out select="$xmlData/data/proposal/linkman/address"/>
        </td>
    </tr>
</table>


<table class="t_css" width="100%"  id="table_02" cellpadding="0" style="word-break: break-all;">
    <col style="width: 20%" />
    <col style="width: 23%" />
    <col style="width: 19%" />
    <col style="width: 19%" />
    <col style="width: 19%" />
    <tr>
        <td  align="left" colspan="5">总体概述：包括孵化器创办目的，投资人与运营机构资源优势，盈利模式、机构设置、人员构成、管理制度等</td>
    </tr>
    <tr>
        <td colspan="5">
            <x:out select="$xmlData/data/proposal/general_overview_hidden" escapeXml="false" />
        </td>
    </tr>
</table>



<script type="text/javascript">
    if($("#operation_subject_nature_value").val()==3){
        var radio1 = $("#operation_subject_nature_other").val();
        var node = '<input type="text" style="height: 17px;border: none;border-bottom: 1px solid black;background-color: #f1f1f1;" readonly="readonly" value="'+radio1+'" />';
        $('#radio1 td:last-child').append(node);
    }
    if($("#operation_subject_nature_value").val()==2){
        var radio3 = $("#enterprise_type_other").val();
        var node = '（<span class="tu_biao1"></span>国有 <span class="tu_biao2"></span>民营）';
        var node2 = '（<span class="tu_biao2"></span>国有 <span class="tu_biao1"></span>民营）';
        if(radio3==4)
            $('#radio1 td').eq(1).append(node);
        if(radio3==5)
            $('#radio1 td').eq(1).append(node2);
    }

    if($("#institutional_type_value").val()==2){
        var radio2 = $("#institutional_type_other").val();
        var node = '<input type="text" style="height: 17px;border: none;border-bottom: 1px solid black;background-color: #fbfbfb;" readonly="readonly" value="'+radio2+'" />';
        $('#radio2 td:last-child').append(node);
    }
</script>